
package com.nike.generator;


/**
 * 代码生成器
 * @author wuhantao
 */
public class CodeGenerator {
	
	private static final String DBPASSWORD="111111";
	private static final String DBHOST="localhost";
	
	private  CodeGenerator(){
		
	}
/**
 * 数据库表主键必须名称为：id
 * @param args
 */
	public static void main(String[] args) {
		
		String modelPackage = "com.nike";
		
		String dbHost = DBHOST;
		String dbName = "test";
		String dbUser = "root";
		String dbPassword = DBPASSWORD;
		
		new JGenerator(modelPackage, dbHost, dbName, dbUser, dbPassword).doGenerate();

	}

}
